home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Burning & Media / GB-PVR 1.2.13 / GBPVR10213.msi / Cabs.w1.cab / Search2.aspx554 < prev    next >
Extensible Markup Language  |  2008-02-23  |  13KB  |  190 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header2.ascx" %>
  3. <%@ Page language="c#" Debug="true" Inherits="gbweb.Search2" CodeFile="Search2.aspx.cs" culture="auto" uiculture="auto" %>
  4. <%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer2.ascx" %>
  5. <%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
  6. <!DOCTYPE html PUBLIC ∩┐╜-//W3C//DTD XHTML 1.1 Strict//EN∩┐╜ ∩┐╜http://www.w3.org/TR/xhtml1/DTD/xhtml11-strict.dtd∩┐╜>
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8.     <head>
  9.         <title>GBPVR - Advanced Episode Search</title>
  10.         <link rel="shortcut icon" type="image/gif" href="<%=Convert.ToString(Session["theme"])%>/graphics/favicon.gif"/>
  11.         <link rel="stylesheet" type="text/css" href="<%=Convert.ToString(Session["theme"])%>/css/common.css"/>
  12.         <link rel="stylesheet" type="text/css" href="<%=Convert.ToString(Session["theme"])%>/css/common_mange_and_search.css"/>
  13.         <link rel="stylesheet" type="text/css" href="<%=Convert.ToString(Session["theme"])%>/css/search.css"/>
  14.         <script type="text/javascript" src="public/popup.js"></script>
  15.         <script type="text/javascript" src="public/Ajax2.js"></script>
  16.         <script type="text/javascript" src="<%=Convert.ToString(Session["theme"])%>/js/common.js"></script>
  17.         <script type="text/javascript" src="<%=Convert.ToString(Session["theme"])%>/js/search.js"></script>
  18.         <script type="text/javascript">
  19.             function checkFocus(e)
  20.             {
  21.                 if (e.type == "load")
  22.                 {
  23.                     document.form1.searchPhrase.focus();
  24.                 }
  25.             }
  26.             function checkSubmit(e)
  27.             {
  28.                 if (e.keyCode == 13)
  29.                 {
  30.                     eval(document.getElementById('hlSubmit').href);
  31.                 }
  32.             }
  33.         </script>
  34.     </head>
  35.     <body onload="return checkFocus(event), GetServerTime(),GetReminders(), StartUp();" onkeypress="return checkSubmit(event);">
  36.         <gbpvr:Header id="headerTheme" runat="server"/>
  37.         <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
  38.             <Services>
  39.                 <asp:ServiceReference Path="~/AjaxService2.asmx" />
  40.             </Services>
  41.         </asp:ScriptManager>
  42.         <form id="form1" method="post" runat="server">
  43.             <div id="FIXED_DIV">
  44.             </div>
  45.                 <!-- Header Start -->
  46.                 <div id="HEADER">
  47.                     <div id="LOGO_HEADER"></div>
  48.                     <div id="HEADER_TEXT">
  49.                         <span class="textLarge">GB-PVR</span><br/>
  50.                         <span class="textSmall">Enhanced Web Admin</span><br/>
  51.                     </div>
  52.                     <div id="DATE_TIME">
  53.                         <div class="viewingDate" id="viewDate" runat="server"></div>
  54.                         <div class="timeDiv" id="serverTime" runat="server"></div>
  55.                     </div>
  56.                     <!-- Nav Row Start-->
  57.                     <div id="NAV_ROW">
  58.                         <div id="NAV_GUIDE" title="TV Guide" runat="server"><a href="Guide2.aspx">TV Guide</a></div>
  59.                         <div id="NAV_RECORDINGS" title="Manage Recordings" runat="server" ><a href="Manage2.aspx">Manage Recordings</a></div>
  60.                         <div id="NAV_SEARCH" title="Programme Search" runat="server" ><a href="Search2.aspx">Episode Search</a></div>
  61.                         <div id="NAV_VIDEO" title="Video Library" runat="server" ><a href="Library2.aspx?path=Video">Video Library</a></div>
  62.                         <div id="NAV_MUSIC" title="Music Library" runat="server" ><a href="Library2.aspx?path=Music">Music Library</a></div>
  63.                         <div id="NAV_PHOTO" title="Photo Library" runat="server"><a href="Library2.aspx?path=Photo">Photo Library</a></div>
  64.  
  65.                         <div id="NAV_LOGOUT" title="Logout" runat="server"><a href="Logout2.aspx">Logout</a></div>
  66.                         <div id="NAV_CONFIG" title="Configuration" runat="server" ><a href="Admin2.aspx">Config</a></div>
  67.                         <div id="NAV_STATS" title="Statistics" runat="server" ><a href="info2.aspx">Statistics</a></div>
  68.                     </div>
  69.                     <!-- Nav Row End--> 
  70.                 </div>
  71.                 <!-- Header End -->
  72.                 
  73.                 <!-- Dateline Start -->               
  74.                 <div id="DIV_DATELINE">
  75.                 </div>
  76.                 
  77.                 <div id="DATELINE">
  78.                     <div id="reminderArea">
  79.                         <div id="REMINDER_LABEL" runat="server"><a id="reminderLink" hidefocus="hidefocus"><div id="remDiv" runat="server"></div></a></div>
  80.                         <div id="REMINDER_DIV">
  81.                         </div>
  82.                     </div> 
  83.                     <div id="MANUAL_RECORD" runat="server"><a href="ManualRecord2.aspx" onclick="EditPop3(this.href,'Add0');return false;">Manual Record</a></div>
  84.                 </div>
  85.                 <!-- Dateline End --> 
  86.                 
  87.                 <!-- dividing line or graphic here -->
  88.                 <div id="DIV_HEADER">    
  89.                 </div>
  90.                 
  91.                 <!-- Manage Recording Line Start -->
  92.                 <div id="SEARCH_HEADER" runat="server">
  93.                     <div id="searchLabel" class="searchLabel" runat="server">Advanced Episode Search</div>
  94.                     <div id="forcedScrollbar" runat="server">
  95.                     </div>
  96.                 </div>
  97.                 
  98.                 <div id="DIV_CONTENTS" runat="server"></div>
  99.                 <div id="CONTENTS" runat="Server" > 
  100.                     <div id="filterLabel" class="filterLabel" runat="server">Saved Search Filters:</div>
  101.                                     
  102.                     <div id="filterOpts" class="filterOpts" runat="server">
  103.                         <asp:RadioButtonList ID="savedSearchFilter" runat="server" AutoPostBack="True" OnSelectedIndexChanged="savedSearchFilter_SelectedIndexChanged"
  104.                         RepeatDirection="Horizontal" RepeatLayout="Flow" Width="376px">
  105.                             <asp:ListItem Selected="True" Value="all">All</asp:ListItem>
  106.                             <asp:ListItem Value="auto">Auto Searches</asp:ListItem>
  107.                             <asp:ListItem Value="auto-record">Auto Records</asp:ListItem>
  108.                             <asp:ListItem Value="auto-all">Auto Search or Record</asp:ListItem>
  109.                             <asp:ListItem Value="non-auto">Non-Auto Searches</asp:ListItem>
  110.                         </asp:RadioButtonList>
  111.                     </div>
  112.                     
  113.                     <div id="savedSearchLabel" class="savedSearchLabel" runat="server">Use Saved Search:</div>
  114.                     <div id="savedSearchOpts" class="savedSearchOpts" runat="server">
  115.                         <asp:DropDownList ID="savedSearchList" runat="server" Width="469px" AutoPostBack="True" OnSelectedIndexChanged="loadSearch"></asp:DropDownList></div>
  116.                         <div class="butDelete" id="butDelete" runat="server"><asp:LinkButton ID="deleteSavedSearch" runat="server" OnClick="deleteSavedSearch_Click"><span>Delete</span></asp:LinkButton></div>
  117.                         <div class="butUpdate" id="butUpdate" runat="server"><asp:LinkButton ID="updateSearch" runat="server" OnClick="updateSavedSearch_Click"><span>Update</span></asp:LinkButton></div>
  118.                     
  119.  
  120.                     <div id="savedSearchNameLabel" class="savedSearchNameLabel" runat="server">Saved Search Name:</div>
  121.                     <div id="savedSearchName" class="savedSearchName" runat="server">
  122.                         <input type="text" name="textKeyWord" id="newSearchName" runat="server" style="width: 467px"/>
  123.                     </div>
  124.                     
  125.                     <div id="saveSearchControls" class="saveSearchControls" runat="server">
  126.                         <div class="butSave" id="butSave" runat="server"><asp:LinkButton ID="saveSearch" runat="server" OnClick="saveSearch_Click">Save</asp:LinkButton></div>
  127.                     </div>
  128.                                             <div class="autoSearch" id="autoSearch" runat="server"><input type="checkbox" name="autoSearchInclude" id="autoSearchInclude" runat="server" value=""/>Include in Daily Auto-Search (Sets Reminders)</div>
  129.                         <div class="autoRecord" id="autoRecord" runat="server"><input type="checkbox" name="autoRecordInclude" id="autoRecordInclude" runat="server" value=""/>Include in Daily Auto-Record (Records Programmes)</div>
  130.                         
  131.                     <div id="searchAreasLabel" class="searchAreasLabel" runat="server">Search Areas:</div>
  132.                     <div id="searchAreas" class="searchAreas" runat="server">
  133.                         <input type="checkbox" name="checkTitle" checked="checked" id="checkTitle" runat="server"/>Title<input type="checkbox" name="checkDesc" id="checkDescription" runat="server"/>Description <input type="checkbox" name="checkSubtitle" id="checkSubTitle" runat="server"/>Subtitle
  134.                     </div>
  135.                     <div id="searchPhraseLabel" class="searchPhraseLabel" runat="server">Search For Phrase:</div>
  136.                     <div id="searchPhraseArea" class="searchPhraseArea" runat="server">
  137.                         <input type="text" name="textKeyWord" size="50" id="searchPhrase" runat="server"/>
  138.                         <input type="checkbox" name="caseSensitive" id="caseSensitive" runat="server" title="Selecting this will force the search to match the case of the letters entered in the search phrase."/>Case Sensitive
  139.                     </div>
  140.                     <div id="genreLabel" class="genreLabel" runat="server">Genre:</div>
  141.                     <div id="genreArea" class="genreArea" runat="server">
  142.                         <asp:ListBox id="genreList" runat="server" SelectionMode="Multiple" Rows="8"></asp:ListBox>
  143.                     </div>
  144.  
  145.                     <div id="dateLabel" class="dateLabel" runat="server">Date Range:</div>
  146.                     
  147.                     <div id="startDateArea" class="startDateArea" runat="server">
  148.                         <ew:CalendarPopUp ID="startDate" Nullable="true" runat="server" PopupLocation="Top" ShowClearDate="True" DisplayOffsetX="-35" DisplayOffsetY="-490" Text="Start Date"></ew:CalendarPopUp>
  149.                     </div>
  150.                     
  151.                     <div id="endDateArea" class="endDateArea" runat="server">    
  152.                         <ew:CalendarPopUp ID="endDate" Nullable="true" runat="server" PopupLocation="Top" ShowClearDate="True" DisplayOffsetX="-295" DisplayOffsetY="-490" Text="End Date" CssClass="endDateArea"></ew:CalendarPopUp>
  153.                     </div>
  154.                     
  155.                     <div id="timeLabel" class="timeLabel" runat="server">Time Range:</div>
  156.                     <div id="startTimeArea" class="startTimeArea" runat="server">
  157.                         <ew:TimePicker ID="startTime" Nullable="true" runat="server" PopupLocation="Top" ShowClearTime="True" DisplayOffsetX="-50" DisplayOffsetY="-525" Text="Start Time" CssClass="startTimeArea"></ew:TimePicker>
  158.                     </div>
  159.                     <div id="endTimeArea" class="endTimeArea" runat="server">
  160.                         <ew:TimePicker ID="endTime" Nullable="true" runat="server" PopupLocation="Top" ShowClearTime="True" DisplayOffsetX="-310" DisplayOffsetY="-525" Text="End Time" CssClass="endTimeArea"></ew:TimePicker>
  161.                     </div>
  162.                     <div id="lengthLabel" class="lengthLabel" runat="server">Program Length:</div>
  163.                     <div id="lengthArea" class="lengthArea" runat="server">
  164.                         <input type="text" name="textMinLength" size="5" id="textMinLength" runat="server"/> to <input type="text" name="textMaxLength" size="5" id="textMaxLength"  runat="server"/>(in minutes)
  165.                     </div>
  166.                     <div id="channelLabel" class="channelLabel" runat="server">Channel:</div>
  167.                     <div id="channelArea" class="channelArea" runat="server">
  168.                         <asp:ListBox id="listChannels" runat="server" SelectionMode="Multiple" Rows="6"></asp:ListBox>
  169.                     </div>
  170.                     <div id="buttonArea" class="buttonArea" runat="server">
  171.                         <div class="butSubmit" id="butSubmit" runat="server"><asp:LinkButton id="hlSubmit" runat="server" onclick="hlSubmit_Click">Submit</asp:LinkButton></div>
  172.                         <div class="butReset" id="butReset" runat="server"><asp:LinkButton id="hlReset" runat="server" OnClick="hlReset_Click">Reset</asp:LinkButton></div>
  173.                     </div>
  174.                 </div>
  175.             </form>
  176.             
  177.             <!-- Footer Start -->
  178.             <div id="DIV_FOOTER" runat="server">
  179.             </div>
  180.             
  181.             <div id="FOOTER" runat="server">
  182.  
  183.                 <div id="FOOTER_RIGHT" runat="server">
  184.                     <gbpvr:Footer id="footer1" runat="server"/>
  185.                 </div>
  186.             </div>
  187.             <!-- Footer End -->
  188.     </body>
  189. </html>
  190.